package com.yunxiao.cloud.oss.property;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: HadoopProperties
 * @date: 2019/12/17 14:51
 * @author: yunxiao
 * @version: 1.0
 */
@Component
@ConfigurationProperties("hadoop")
public class HadoopProperties {

    /** fs uri地址 */
    @Value("${hadoop.name-node}")
    private String nameNode;

    public String getNameNode() {
        return nameNode;
    }

    public void setNameNode(String nameNode) {
        this.nameNode = nameNode;
    }


}
